home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20030409-20031118 / 000411_anthonypieper@cs.com_Wed Nov 12 13:40:43 2003.msg < prev    next >
Internet Message Format  |  2003-11-18  |  3KB

  1. Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
  2. From: anthonypieper@cs.com (newexpectuser)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Problem with Kermit spawned from Expect script sending files
  5. Date: 12 Nov 2003 04:55:51 -0800
  6. Organization: http://groups.google.com
  7. Lines: 39
  8. Message-ID: <f0bb0f39.0311120455.1c76a37c@posting.google.com>
  9. References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com> <3fafafd0$1@yorrell.saard.net> <f0bb0f39.0311110437.62628a03@posting.google.com> <slrnbr22no.dhj.fdc@sesame.cc.columbia.edu>
  10. NNTP-Posting-Host: 209.251.39.194
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1068641751 32318 127.0.0.1 (12 Nov 2003 12:55:51 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: Wed, 12 Nov 2003 12:55:51 +0000 (UTC)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14667
  17.  
  18. I tried the RDIR command, yet it still gave me the local directory
  19. listing, not the one off the remote server.
  20. Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbr22no.dhj.fdc@sesame.cc.columbia.edu>...
  21. > In article <f0bb0f39.0311110437.62628a03@posting.google.com>,
  22. > newexpectuser wrote:
  23. > : Arthur Marsh <arthur.marsh@internode.on.net>
  24. > : wrote in message news:<3fafafd0$1@yorrell.saard.net>...
  25. > :> newexpectuser wrote:
  26. > :> try using REMOTE DIRECTORY or its shortened form, RDIR
  27. > :
  28. > : I tried the RDIR and then a ls command to make sure i was in the
  29. > : remote directory, but I got the local directory listing, unless my ls
  30. > : command only shows the local directory ?..I am also running this first
  31. > : from a command line in Unix using ./script.sh.
  32. > :
  33. > RDIR, LS, and DIRECTORY are three different commands.  Each one does a
  34. > different thing.  Only RDIR requests a directory listing from the remote
  35. > server.
  36. > In a file transfer and management system such as Kermit (or, for that
  37. > matter, FTP) there needs to be a way to refer to both local and remote
  38. > files.  By default, unprefixed commands such as DELETE, DIRECTORY, RENAME,
  39. > etc, refer to local files.  If you prefix them with the word REMOTE, or
  40. > use the R-shortcuts (RDEL, RDIR, RREN, etc), they apply to remote files.
  41. > For completeness and symmetry, there are also L-shortcuts to force reference
  42. > to local files: LDEL, LDIR, LREN, etc.
  43. > You can even have Kermit change the default for unprefixed commands; for
  44. > example, to make it act like FTP:
  45. >   SET LOCUS REMOTE
  46. > Then unprefixed file management commands refer to remote files.  For more
  47. > about this, see:
  48. >   http://www.columbia.edu/kermit/ckermit80.html#x3.4
  49. > - Frank
  50.